/* Copyright (C) 2006-2007 Oliver Mihatsch (banishedknight@users.sf.net)
 * This is free software distributed under the terms of the
 * GNU Public License.  See the file COPYING for details. 
 *
 * $Id$
 * Created on 26.02.2007
 */

package com.yufei.infoExtractor.io;

import java.io.IOException;

import java.io.InputStream;
import java.net.URL;

/**
 * @author jasstion
 *
 */
public interface HttpDataRetriever {

	public URL getUrl();
	public void setUrl(URL url);

	

	public void connect() throws IOException;

	public void disconnect() throws IOException;

	public long getContentLenght() throws IOException;
   
	public InputStream getContent();
	public String getHtmlContent();
	public Long getConnectIntervalTime();
}